package com.flyme.module.base.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.flyme.common.core.model.base.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 区域
 *
 * @author zyf
 * @date 2019-1-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@TableName("sys_area")
public class SysArea extends AbstractEntity<SysArea> {
    private static final long serialVersionUID = 1L;
    /** 区域名称 */
    private String areaName;
    /** 区域编码 */
    private String areaCode;
    private String adCode;
    private String location;
    private String cityCode;
    /** 上级区域 */
    private Long parentId;
    /** 级别 */
    private Integer areaLevel;
    private Integer hot;
    /** 全拼 */
    private String fullLetter;
    /** 是否启用  1启用 */
    private Integer enabled;
    /** 首字母 */
    private String firstLetter;
}
